package com.lbn.baseframe.ui;

import android.view.View;

import com.lbn.baseframe.base.BaseActivity;

/**
 * @author 李炳南
 * @date 2017/2/10
 */
public interface IAppbar {

    void attachView(BaseActivity baseActivity);

    IAppbar setTitle(CharSequence title);

    IAppbar openBack();

    IAppbar openBack(int image);

    IAppbar leftImageButton(int image, View.OnClickListener listener);

    IAppbar rightImageButton(int image, View.OnClickListener listener);

    IAppbar leftButton(CharSequence button, View.OnClickListener listener);

    IAppbar rightButton(CharSequence button, View.OnClickListener listener);


}
